GET PlanCare2Api/ActionsV2?actionIds[0]={actionIds[0]}&actionIds[1]={actionIds[1]}

Retrieves a list of actions by ids.

Request Information

URI Parameters

Name Description Type Additional information
actionIds

The ids of the requested actions.

Collection of integer

Required

Body Parameters

None.

Response Information

Resource Description

A list of actions.

Collection of ActionV2
Name Description Type Additional information
Id

The internal id of the Action.

integer

-

Name

Name of the Action.

string

Required

DisciplineId

The id of the Discipline.

integer

Required

DisciplineName

The name of the Discipline.

string

-

Priority

The priority of the Action.

Priority

-

EmployeeId

The id of the employee who is the executor of the Action.

Identity

Deprecated (unavailable from 21.01.1P): Please use 'ExecutiveIds' instead.

ExecutiveId

The id of the relation who is the executor of the Action.

Identity

Deprecated (unavailable from 21.01.1P): Please use 'ExecutiveIds' instead.

ExecutiveIds

List of ids of relations who are executor of the Action.

Collection of integer

-

Executives

List of relations who are executors of the Action.

Collection of WorkplanActionExecutive

-

WorkTypeId

The worktype id of the Action.

integer

Nullable

WorkplanId

The workplan id of the Action.

integer

Nullable

SubGoalId

The sub goal id of the Action.

integer

Nullable

Remarks

The exemplification of the Action.

string

-

EvaluateBefore

The planned evaluation date.

date

Nullable

Result

The result of the Action.

WorkplanActionResult

-

ResultDate

The date of the result.

date

Nullable

Continuation

The continuation of the Action

WorkplanActionContinuation

-

CreationDate

The date of creation.

date

Nullable

Completed

Whether or not the Action is completed.

boolean

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Name": "sample string 2",
    "DisciplineId": 3,
    "DisciplineName": "sample string 4",
    "Priority": {
      "$id": "2",
      "Id": 1,
      "Name": "sample string 2",
      "Color": 3,
      "ColorName": "sample string 4"
    },
    "EmployeeId": {
      "$id": "3",
      "Identifier": "sample string 1",
      "Type": 0
    },
    "ExecutiveId": {
      "$ref": "3"
    },
    "ExecutiveIds": [
      1,
      2
    ],
    "Executives": [
      {
        "$id": "4",
        "Identifier": {
          "$ref": "3"
        },
        "ExecutiveType": "sample string 1",
        "ExecutiveName": "sample string 2"
      },
      {
        "$ref": "4"
      }
    ],
    "WorkTypeId": 1,
    "WorkplanId": 1,
    "SubGoalId": 1,
    "Remarks": "sample string 5",
    "EvaluateBefore": "2026-05-26T22:09:56.1584476+02:00",
    "Result": {
      "$id": "5",
      "Id": 1,
      "Name": "sample string 2"
    },
    "ResultDate": "2026-05-26T22:09:56.1584476+02:00",
    "Continuation": {
      "$id": "6",
      "Id": 1,
      "Name": "sample string 2"
    },
    "CreationDate": "2026-05-26T22:09:56.1584476+02:00",
    "Completed": true
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfActionV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <ActionV2>
    <Completed>true</Completed>
    <Continuation>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Continuation>
    <CreationDate>2026-05-26T22:09:56.1584476+02:00</CreationDate>
    <DisciplineId>3</DisciplineId>
    <DisciplineName>sample string 4</DisciplineName>
    <EmployeeId xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
      <d3p1:Identifier>sample string 1</d3p1:Identifier>
      <d3p1:Type>ExternalId</d3p1:Type>
    </EmployeeId>
    <EvaluateBefore>2026-05-26T22:09:56.1584476+02:00</EvaluateBefore>
    <ExecutiveId xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
      <d3p1:Identifier>sample string 1</d3p1:Identifier>
      <d3p1:Type>ExternalId</d3p1:Type>
    </ExecutiveId>
    <ExecutiveIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </ExecutiveIds>
    <Executives>
      <WorkplanActionExecutive>
        <ExecutiveName>sample string 2</ExecutiveName>
        <ExecutiveType>sample string 1</ExecutiveType>
        <Identifier xmlns:d5p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
          <d5p1:Identifier>sample string 1</d5p1:Identifier>
          <d5p1:Type>ExternalId</d5p1:Type>
        </Identifier>
      </WorkplanActionExecutive>
      <WorkplanActionExecutive>
        <ExecutiveName>sample string 2</ExecutiveName>
        <ExecutiveType>sample string 1</ExecutiveType>
        <Identifier xmlns:d5p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
          <d5p1:Identifier>sample string 1</d5p1:Identifier>
          <d5p1:Type>ExternalId</d5p1:Type>
        </Identifier>
      </WorkplanActionExecutive>
    </Executives>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Priority>
      <Color>3</Color>
      <ColorName>sample string 4</ColorName>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Priority>
    <Remarks>sample string 5</Remarks>
    <Result>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Result>
    <ResultDate>2026-05-26T22:09:56.1584476+02:00</ResultDate>
    <SubGoalId>1</SubGoalId>
    <WorkTypeId>1</WorkTypeId>
    <WorkplanId>1</WorkplanId>
  </ActionV2>
  <ActionV2>
    <Completed>true</Completed>
    <Continuation>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Continuation>
    <CreationDate>2026-05-26T22:09:56.1584476+02:00</CreationDate>
    <DisciplineId>3</DisciplineId>
    <DisciplineName>sample string 4</DisciplineName>
    <EmployeeId xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
      <d3p1:Identifier>sample string 1</d3p1:Identifier>
      <d3p1:Type>ExternalId</d3p1:Type>
    </EmployeeId>
    <EvaluateBefore>2026-05-26T22:09:56.1584476+02:00</EvaluateBefore>
    <ExecutiveId xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
      <d3p1:Identifier>sample string 1</d3p1:Identifier>
      <d3p1:Type>ExternalId</d3p1:Type>
    </ExecutiveId>
    <ExecutiveIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </ExecutiveIds>
    <Executives>
      <WorkplanActionExecutive>
        <ExecutiveName>sample string 2</ExecutiveName>
        <ExecutiveType>sample string 1</ExecutiveType>
        <Identifier xmlns:d5p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
          <d5p1:Identifier>sample string 1</d5p1:Identifier>
          <d5p1:Type>ExternalId</d5p1:Type>
        </Identifier>
      </WorkplanActionExecutive>
      <WorkplanActionExecutive>
        <ExecutiveName>sample string 2</ExecutiveName>
        <ExecutiveType>sample string 1</ExecutiveType>
        <Identifier xmlns:d5p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
          <d5p1:Identifier>sample string 1</d5p1:Identifier>
          <d5p1:Type>ExternalId</d5p1:Type>
        </Identifier>
      </WorkplanActionExecutive>
    </Executives>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Priority>
      <Color>3</Color>
      <ColorName>sample string 4</ColorName>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Priority>
    <Remarks>sample string 5</Remarks>
    <Result>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Result>
    <ResultDate>2026-05-26T22:09:56.1584476+02:00</ResultDate>
    <SubGoalId>1</SubGoalId>
    <WorkTypeId>1</WorkTypeId>
    <WorkplanId>1</WorkplanId>
  </ActionV2>
</ArrayOfActionV2>